// JavaScript source code
F.module("/static/common/ui/ut/ut.js",
function (d, b) {
    var c = d("/static/common/lib/tangram/base/base.js");
    if (!e) {
        var e = new Date().getTime()
    }
    var a = (function () {
        var v = {
            ea: [],
            ma: []
        };
        var n = {};
        var h = false;
        var r = 0;
        var o = (new Date()).getTime();
        var w = {};
        var p = [];
        function q(A) {
            if (!A) {
                var A = window.event
            }
            var t = 0;
            var B = 0;
            if (A.pageX || A.pageY) {
                t = A.pageX;
                B = A.pageY
            } else {
                if (A.clientX || A.clientY) {
                    t = A.clientX + document.body.scrollLeft;
                    B = A.clientY + document.body.scrollTop
                }
            }
            return [t, B]
        }
        function g(t) {
            return t.offsetParent ? (t.offsetLeft + g(t.offsetParent)) : t.offsetLeft
        }
        function f(t) {
            return t.offsetParent ? (t.offsetTop + f(t.offsetParent)) : t.offsetTop
        }
        function x(t) {
            if (t.preventDefault) {
                t.preventDefault()
            } else {
                window.event.returnValue = false
            }
        }
        function z(H) {
            var B = q(H);
            var D = v[this.id];
            if (D) {
                if (!D.hover) {
                    D.hover = true;
                    D.count++
                }
            } else {
                var C = g(this);
                var E = f(this);
                var G = C + this.offsetWidth;
                var A = E + this.offsetHeight;
                D = v[this.id] = {
                    hover: true,
                    count: 1,
                    left: C,
                    top: E,
                    right: G,
                    buttom: A
                }
            }
            if (!D["mouse" + D.count]) {
                D["mouse" + D.count] = [];
                D["time" + D.count] = {
                    start: (new Date()).getTime()
                };
                v.ma.push(D["mouse" + D.count]);
                v.ea.push(this.id)
            }
            D["mouse" + D.count].push(B)
        }
        function y(B) {
            var t = q(B);
            var A = v[this.id];
            if (A && A.hover) {
                if (t[0] && t[0] > A.left && t[0] < A.right && t[1] && t[1] > A.top && t[1] < A.buttom) {
                    return
                }
                A["time" + A.count].end = (new Date()).getTime();
                A.hover = false
            }
        }
        function j() {
            var t = v.ma.length;
            if (t > 0) {
                var A = v.ma[t - 1];
                return A[A.length - 1]
            }
        }
        function l() {
            var A = v.ea.concat();
            var t = A.length;
            if (t > 10) {
                A = A.splice(t - 10, 10)
            }
            return A.join(",")
        }
        function s() {
            if (h) {
                return n
            }
            c.array.each(v.ea,
            function (B, A) {
                v.ea[A] = w[B]
            });
            var t = [j(), l(), (new Date()).getTime() - e, [screen.width, screen.height].join(",")].join("\t");
            n.c = i(t) + "," + o + "" + r;
            h = true;
            return n
        }
        function i(E) {
            var t = [];
            var C = {};
            var D = o % 100;
            for (var B = 0,
            A = E.length; B < A; B++) {
                var G = E.charCodeAt(B) ^ D;
                t.push(G);
                if (!C[G]) {
                    C[G] = []
                }
                C[G].push(B)
            }
            return t
        }
        function m() {
            return this.id
        }
        function u(t) {
            this.elements = t;
            c.array.each(t,
            function (B, A) {
                if (c.g(B)) {
                    c.on(B, "mouseover", z);
                    c.on(B, "mouseout", y)
                }
                w[B] = A
            });
            c.on(document.body, "onclick",
            function () {
                r = 1
            })
        }
        function k(t, D) {
            var C = document.createElement("form");
            C.method = "post";
            C.target = "iktssender";
            C.action = t;
            for (var A in D) {
                var B = document.createElement("input");
                B.type = "hidden";
                B.name = A;
                B.value = D[A];
                C.appendChild(B)
            }
            document.body.insertBefore(C, document.body.firstChild);
            C.submit();
            C = null
        }
        return {
            start: u,
            report: s,
            send: k
        }
    })();
    b = a;
    return b
},
["/static/common/lib/tangram/base/base.js"]);